<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://unpkg.com/swiper/css/swiper.min.css">    
    <link href="https://cdn.bootcss.com/animate.css/3.7.2/animate.min.css" rel="stylesheet">
    <title>Document</title>
    <script>
       
       
    
    
    </script>
    <style>
       .swiper-container {
            width: 100%;
            height: 600px;
        }  
        .swiper-slide:nth-child(1){
            background-color: red;
        }
        .swiper-slide:nth-child(2){
            background-color: green;
        }
        .swiper-slide:nth-child(3){
            background-color: blue;
        }
        .box{
            width: 200px;
            height: 200px;
            background-color: palegreen;
        }
    </style>
</head>
<body>
    <div class="banner">
        <div class="swiper-container" id="swiper1">
            <div class="swiper-wrapper">
                <div class="swiper-slide">Slide 1</div>
                <div class="swiper-slide">Slide 2</div>
                <div class="swiper-slide">Slide 3</div>
            </div>
            <!-- 如果需要分页器 -->
            <div class="swiper-pagination"></div>
            
            <!-- 如果需要导航按钮 -->
            <div class="swiper-button-prev"></div>
            <div class="swiper-button-next"></div>
            
        </div>
    </div>
    <div class="box animated  bounceInRight">

    </div>
    <script src="https://unpkg.com/swiper/js/swiper.min.js"> </script>
    <script>
        var mySwiper = new Swiper ('#swiper1', {
            
            loop: true, // 循环模式选项
            autoplay: true,
            speed:50,
            // 如果需要分页器
            pagination: {
            el: '.swiper-pagination',
            },
            
            // 如果需要前进后退按钮
            navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
            },
            
        })   
    
    
    </script>
</body>
</html>